const getters = {
  sidebar: (state) => state.app.sidebar,
  size: (state) => state.app.size,
  device: (state) => state.app.device,
  dict: (state) => state.dict.dict,
  visitedViews: (state) => state.tagsView.visitedViews,
  cachedViews: (state) => state.tagsView.cachedViews,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  userId: (state) => state.user.userId,
  studentId: state => state.user.studentId,
  teacherId: state => state.user.teacherId,
  notice: (state) => state.user.notice,
  msgShow: (state) => state.user.msgShow,
  guide: (state) => state.user.guide,
  currentCourse: (state) => state.user.currentCourse,
  messageSearchStorage: (state) => state.user.messageSearchStorage,
  keepTab: (state) => state.user.keepTab,
  checkType: (state) => state.user.checkType,
  branchId: (state) => state.user.branchId,
  groupType: (state) => state.user.groupType,
  cacheSemester: (state) => state.user.cacheSemester,
  schoolId: (state) => state.user.schoolId,
  schoolInfo: (state) => state.user.schoolInfo,
  phoneNumber: (state) => state.user.phoneNumber,
  name: (state) => state.user.name,
  account: (state) => state.user.account,
  topicTypeText: (state) => state.user.topicTypeText,
  difficultyText: (state) => state.user.difficultyText,
  introduction: (state) => state.user.introduction,
  roles: (state) => state.user.roles,
  roleList: (state) => state.user.roleList,
  permissions: (state) => state.user.permissions,
  permission_routes: (state) => state.permission.routes,
  topbarRouters: (state) => state.permission.topbarRouters,
  defaultRoutes: (state) => state.permission.defaultRoutes,
  sidebarRouters: (state) => state.permission.sidebarRouters,
  curRole: (state) => state.permission.curRole,
  roleId: (state) => state.user.roleId,
  turnRoleId: (state) => state.user.turnRoleId,
  studentCardSort: (state) => state.user.studentCardSort,
  SwitchValue:(state)=>state.user.Switchvalue,
  teachGroupType:(state)=>state.user.teachGroupType,
  teachStudentSort:(state)=>state.user.teachStudentSort,
  GroupListSort:(state)=>state.user.GroupListSort,
  EN:(state)=>state.user.EN,
  isClose:(state)=>state.user.isClose,
  activeNode:(state)=>state.user.activeNode,
  customModalVisible:(state)=>state.user.customModalVisible,
};
export default getters;
